/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pagoda.util;

/**
 *
 * @author Kevin Krohe
 */
public class Shell {

    public static String writeLine(String template, Object... params)
    {
        String s = String.format(template, params);
        System.out.println(s);
        return s;
    }

    public static Object writeLine(Object obj)
    {
        System.out.println(obj);
        return obj;
    }

    public static <T> T echo(T value)
    {
        System.out.println(value);
        return value;
    }

}
